//
//  ViewController.h
//  PODRenderer
//
//  Created by ajit on 6/13/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "PODRendererScene.h"

@interface ViewController : UIViewController {
    
    UIButton* btnLeft;
    UIButton* btnRight;
    UIButton* btnUp;
    UIButton* btnDown;
    UIButton* btnIn;
    UIButton* btnOut;
    
    UIButton* btnDock;
    
    UILabel* lblLX;
    UILabel* lblLY;
    UILabel* lblLZ;
    
    UILabel* lblRX;
    UILabel* lblRY;
    UILabel* lblRZ;
    
    UILabel* lblCurrentAccuracy;
    
    UISegmentedControl* sgmtMoveRotate;
    UISegmentedControl* sgmtTarget;
    
    UISlider* sliderAccurary;
    
    UIView* controlPanel;
    
    PODRendererScene* glController;
    
}

@property (nonatomic, retain) IBOutlet UIView* glViewContainer;
@property (nonatomic, retain) IBOutlet UIButton* btnUp;
@property (nonatomic, retain) IBOutlet UIButton* btnDown;
@property (nonatomic, retain) IBOutlet UIButton* btnRight;
@property (nonatomic, retain) IBOutlet UIButton* btnLeft;
@property (nonatomic, retain) IBOutlet UIButton* btnDock;
@property (nonatomic, retain) IBOutlet UIButton* btnIn;
@property (nonatomic, retain) IBOutlet UIButton* btnOut;
@property (nonatomic, retain) IBOutlet UILabel* lblLX;
@property (nonatomic, retain) IBOutlet UILabel* lblLY;
@property (nonatomic, retain) IBOutlet UILabel* lblLZ;
@property (nonatomic, retain) IBOutlet UILabel* lblRX;
@property (nonatomic, retain) IBOutlet UILabel* lblRY;
@property (nonatomic, retain) IBOutlet UILabel* lblRZ;
@property (nonatomic, retain) IBOutlet UILabel* lblCurrentAccuracy;
@property (nonatomic, retain) IBOutlet UISegmentedControl* sgmtMoveRotate;
@property (nonatomic, retain) IBOutlet UISegmentedControl* sgmtTarget;
@property (nonatomic, retain) IBOutlet UISlider* sliderAccurary;
@property (nonatomic, retain) IBOutlet UIView* controlPanel;

@property (nonatomic, retain) PODRendererScene* glController;

- (void) dockViewInOut;

- (IBAction) btnDockPressed:(UIButton*) sender;
- (IBAction) btnMovemenPressed:(UIButton*) sender;
- (IBAction) sliderAccuracyValueChanged:(UISlider*)sender;

- (IBAction) sgmtTarget:(UISegmentedControl*)sender;
- (IBAction) sgmtMoveRotateValueChanged:(UISegmentedControl*)sender;

@end

